package cn.white.ymc.mvvmmaster.data.local.db;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;

import cn.white.ymc.mvvmmaster.data.bean.UserInfo;
import cn.white.ymc.mvvmmaster.data.local.UserInfoDao;

/**
 * 定义 db 库
 *
 * @packageName: cn.white.ymc.mvvmmaster.data.local.db
 * @fileName: DataBase
 * @date: 2018/11/6  10:47
 * @author: ymc
 * @QQ:745612618
 */

@Database(entities = {UserInfo.class}, version = 1, exportSchema = false)
public abstract class DataBase extends RoomDatabase {

    public abstract UserInfoDao getUserInfoDao();

}
